<fieldset>
	<legend>Shim Types</legend>
    <div class="categories_list">
    <% type_array = [] %>
    <% Shim.all_shim_types.each { |t| type_array << t } %>
    <% type_array.sort! %>
    <ul>
       <% type_array.each do |elt| %>
         <li>
           <%= link_to "#{elt} (#{Shim.find(:all, :conditions => {
               :shim_type => elt}).size})", :controller => "shims", 
               :action => "with_type", :shim_type => elt %></li>
       <% end %>
     </ul>
  </div>
</fieldset>

